<template>
  <div>
    <h2>请设置销售属性</h2>
    <el-row :getter='20' v-for="(item,index) of setSaleAttrForm" :key='index'>
      <el-col :span="2" style="margin: 1%;font-size: 18;">
        <span>{{item.attrGroupName}}</span>
      </el-col>
      <el-col :span="20" style="margin: 1%;">
       <el-checkbox v-model="row.value" v-for="(row,rowIndex) of item.productAttrDoList" :key='rowIndex'
          :label="row.attrId" style="font-size: 18px;">{{row.attrName}}</el-checkbox>
      </el-col>
    </el-row>
  </div>
</template>

<script>
  export default {
    name: 'SetSaleAttr',
    props: {
      setSaleAttrForm: null
    },
    methods: {
      returnSetSaleAttrForm(){
        return this.setSaleAttrForm;
      }
    }
  }
</script>

<style scoped>
</style>
